package com.dwj.auto.comment.controller;

import com.dwj.auto.comment.common.response.Response;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author: dangweijian
 * @description: index
 * @create: 2020-01-08 15:55
 **/
@RestController
@RequestMapping
public class IndexController {

    @GetMapping("/api/test")
    public Response<String> index(){
        return Response.success("ok!");
    }
}
